package com.fc.happyteam.service;


import com.fc.happyteam.entity.BoatEntity;

import java.util.List;
import java.util.Map;

/**
 * Created by futurecreative on 2017/7/19.
 */
public interface IBoatService {

    BoatEntity getBoat(Long id);

    BoatEntity queryObject(Long id);

    List<BoatEntity> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(BoatEntity boat);

    void update(BoatEntity boat);

    void delete(Long id);

    void deleteBatch(Long[] ids);
}
